package com.dream.springmvc;

import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/api/v1/test")
public class TestController {

    @GetMapping("/test1")
    public String test1() {
        return "ok";
    }

    @PostMapping(path = "/test2")
    public void test2(@RequestBody ListDataItemInsesDTO req) {

        System.out.println("test");
        System.out.println(req);
    }
}
